

package cn.shengchao.examstar.product.domain.valobj;

import lombok.Getter;

@Getter
public enum MaterialType {
    //讲义
    BOOK("BOOK", 1),
    //背诵册
    RECITATION_BOOK("RECITATION_BOOK", 2),
    //作业
    HOMEWORK("HOMEWORK", 3),
    //试卷
    EXAM("EXAM", 4)
    //其他
    , OTHER("OTHER", 5);

    private String type;
    private int code;

    MaterialType(String type, int code) {
        this.type = type;
        this.code = code;
    }

}
